package com.ruoyi.subjectproblems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题解对象 t_subject_problems
 * 
 * @author ruoyi
 * @date 2023-11-17
 */
public class TSubjectProblems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题目id */
    @Excel(name = "题目id")
    private Long pId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 题解人id */
    @Excel(name = "题解人id")
    private Long interpreter;

    /** 题解名字 */
    @Excel(name = "题解名字")
    private String interpreterName;

    /** 视频题解 */
    @Excel(name = "视频题解")
    private String video;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setInterpreter(Long interpreter) 
    {
        this.interpreter = interpreter;
    }

    public Long getInterpreter() 
    {
        return interpreter;
    }
    public void setInterpreterName(String interpreterName) 
    {
        this.interpreterName = interpreterName;
    }

    public String getInterpreterName() 
    {
        return interpreterName;
    }
    public void setVideo(String video) 
    {
        this.video = video;
    }

    public String getVideo() 
    {
        return video;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getpId())
            .append("content", getContent())
            .append("interpreter", getInterpreter())
            .append("createTime", getCreateTime())
            .append("interpreterName", getInterpreterName())
            .append("video", getVideo())
            .toString();
    }
}
